/*
 * This class implements the menu for the trial window in the Titrator
 * program.
 * Author: Aaron A. Lovato
 */
package gui;
 
import javax.swing.*;

public class TrialMenuBar extends JMenuBar
{
    private JMenu fileMenu;
    private JMenu helpMenu;
    
    public TrialMenuBar()
     {
         JMenuItem menuItem;
         
         //Set up the file menu
         fileMenu = new JMenu("File");
         menuItem = new JMenuItem("New Project");
         fileMenu.add(menuItem);
         menuItem = new JMenuItem("Open Project");
         fileMenu.add(menuItem);
         menuItem = new JMenuItem("Quit");
         fileMenu.add(menuItem);
         
         //Set up the help menu
         helpMenu = new JMenu("Help");
         menuItem = new JMenuItem("About");
         helpMenu.add(menuItem);
         
         //Add the menus
         add(fileMenu);
         add(helpMenu);
         
     }
}